Skip to content

fix GitHub windows workflows - #310

Open
lefessan wants to merge 1 commit into
OCamlPro:gitside-gnucobol-3.xfrom
lefessan:2026-08-26-fix-github-windows-workflows
Open

fix GitHub windows workflows#310
lefessan wants to merge 1 commit into
OCamlPro:gitside-gnucobol-3.xfrom
lefessan:2026-08-26-fix-github-windows-workflows

Conversation

@lefessan

@lefessan lefessan commented Aug 26, 2026

Copy link
Copy Markdown
Member

This commit comes from #303 , to separate between changes in GnuCOBOL SVN, and changes specific to the GIT repository. It is supposed to be merged into .gitside-gnucobol-3.x after branch 303 has been committed into SVN.

@lefessan lefessan mentioned this pull request Aug 26, 2026
@lefessan
lefessan force-pushed the 2026-08-26-fix-github-windows-workflows branch from 1146d71 to cda8d98 Compare August 26, 2026 09:33
@lefessan lefessan added the GIT ONLY NO SVN This PR contains only changes to files that are not in the SVN, typically in .github label Aug 26, 2026
@lefessan
lefessan force-pushed the 2026-08-26-fix-github-windows-workflows branch from cda8d98 to c2cf10a Compare August 27, 2026 13:46
# this no longer seems necessary today
# PATH="$PATH:/c/Program Files/Git/usr/bin"
../configure $CFGOPT CFLAGS=-std=c17
../configure $CFGOPT CFLAGS=-std=gnu17 LDFLAGS=-lintl

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still would like to understand what we need LDFLAGS=-lintl for - and if we can set that to something more specific (the global ones will "leak" into cobc calls).

Comment on lines -897 to -905
- name: Adjust testsuite
run: |
rem Skip test as it sometimes works and sometimes not...
rem %MSYS_BASH% -lc "sed -i '/used_binaries/{N;/temporary path invalid/{N;N;N;N;s/traceon/traceon; echo \"workflow:1\">\"$at_check_line_file\"; at_fn_check_skip 77/;}}' tests/testsuite"

rem Change to expected fail if there's an error specific to the CI that we don't want to change
rem in the testsuite for expected result (should normally only be a temporary thing)
rem sed -i '/run_fundamental/{N;/Compare FLOAT-LONG with floating-point literal/{N;s/at_xfail=no/at_xfail=yes/;}}' tests/testsuite

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That just doesn't do anything (same as before)... if possible I'd like to keep it in (but commenting out the step completely) in case we need to ignore something for some time on Win32 (for example during longer development of a feature/fix where "works outside of Windows" is something we may even commit upstream)

(same applies to the change in the other workflow)

@lefessan

Copy link
Copy Markdown
Member Author

The CI is currently working well on Windows, so I am not sure this PR is still useful...

@GitMensch

Copy link
Copy Markdown
Collaborator

Asa the rest of this PR (originally it contained more) only deletes comments + add LDFLAGS that seem to not be used (+switches to gnu standard isntead of iso, which enables some other features), I suggest to close this and directly change c17 to gnu17 (no PR needed),

@GitMensch

Copy link
Copy Markdown
Collaborator

one single remark on the MSVC Debug builds originally pointed out in the obsolete #257;

for debug builds it should also package ucrtbased.dll and matching vcruntime*d.dll as those are commonly not available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GIT ONLY NO SVN This PR contains only changes to files that are not in the SVN, typically in .github

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants